﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>   
    <title>添加cookie</title>
  </head>
  
  <body>
<%
    session.setAttribute("test", "hello");
    response.sendRedirect("getCookie.jsp");
%>

  </body>
</html>
